package com.neudeu.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class ParmUtil {
   static Properties p=new Properties();
    
    static {
    	InputStream is=ParmUtil.class.getClassLoader().getResourceAsStream("db.properties");
        try {
			p.load(is);
		} catch (IOException e) {
			e.printStackTrace();
		}
    }
    
   /* public static void main(String[] args) {
		System.out.println(p.getProperty("driver"));
	}*/
    
    public static final String DRIVER=p.getProperty("driver");
    public static final String URL=p.getProperty("url");
    public static final String USER=p.getProperty("user");
    public static final String PASSWORD=p.getProperty("password");
	
}
